use std::collections::HashMap;

use super::exts::GetEntityKey;

/**
 * @author Dream-Lab مۇختەرجان مەخمۇت
 * @email ug-project@outlook.com
 * @create date 2022-07-25 01:48:52
 * @modify date 2022-07-25 01:48:52
 * @desc [description]
*/

#[derive(Clone)]
pub struct GenericEntityIndex {
    pub key: String,
    pub value: Vec<String>
}

impl GetEntityKey for GenericEntityIndex {
    fn key(&self) -> String {
        self.key.clone()
    }
}